/**
 */

window._AppConfig = {
    AjaxApi: {
        getUploadSetting: {url: '/common/OssSetting/getSetting', method: 'get'},
        uploadBase64: {url: '/common/upload/uploadBase', method: 'post'}, //上传图片
        commonAuthlist: {url: '/admin/common/authList', method: 'post'},

        access_list: {url: '/admin/access/accessList', method: 'post'}, //权限列表
        access_save: {url: '/admin/access/accessSave', method: 'post'}, //保存权限列表
        access_del: {url: '/admin/access/accessDel', method: 'post'}, //删除权限节点
        updatePwd: {url: '/admin/admin/updatePwd', method: 'post'}, //修改密码

        getAccessTree: {url: '/admin/common/getAccessTree', method: 'post'}, //获取权限

        role_list: {url: '/admin/access/roleList', method: 'post'}, //角色列表
        role_save: {url: '/admin/access/roleEdit', method: 'post'}, //角色编辑
        role_del: {url: '/admin/access/roleDel', method: 'post'}, //删除角色

        getAdminList: {url: '/admin/admin/index', method: 'get'},
        saveAdmin: {url: '/admin/admin/saveAdmin', method: 'post'},
        delAdmin: {url: '/admin/admin/delAdmin', method: 'post'},

        userIndex: {url: '/admin/user/index', method: 'get'},

        orderIndex: {url: '/admin/order/index', method: 'get'},
        orderSave: {url: '/admin/order/save', method: 'post'},
        orderDel: {url: '/admin/order/delete', method: 'post'},
        orderSuccess: {url: '/admin/order/success', method: 'post'},
        orderError: {url: '/admin/order/error', method: 'post'},

        articleIndex: {url: '/admin/article/index', method: 'get'},
        articleSave: {url: '/admin/article/save', method: 'post'},
        articleDel: {url: '/admin/article/delete', method: 'post'},
       

        shopIndex: {url: '/admin/shop/index', method: 'get'},
        shopSave: {url: '/admin/shop/save', method: 'post'},
        shopDel: {url: '/admin/shop/delete', method: 'post'},


        getSetting: {url: '/admin/setting/index', method: 'get'},
        saveSetting: {url: '/admin/setting/save', method: 'post'},
    }
};